<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" id="viewport">
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="format-detection" content="telephone=no" />
  <title>测试</title>
  <style>
    * { padding: 0; margin: 0; box-sizing: border-box; }
    #main { width: 100%; height: 600px; border: 1px solid #eee; margin: 20px auto; padding: 10px; }
    #main .divs div { width: 48%; height: 300px; border: 1px solid #ccc; float: left; border-radius: 4px; line-height: 300px; font-size: 40px; text-align: center; }
    #main .divs div:nth-child(2n) { margin-left: 10px; }
    #main .divs div:hover { border: 1px solid #fff; box-shadow: 0 0  10px 0 #aaa; cursor: pointer; }
    #main input { width: 100%; line-height: 40px; margin: 20px 0; border-radius: 4px; border: 1px solid #ccc; padding: 0 10px; }
    #main .btns button { width: 80px; line-height: 30px; border: 1px solid #ccc; border-radius: 4px; cursor: pointer; }
  </style>
</head>
<body>
<div id="main">
  <div class="divs">
    <div class="a1">1</div>
    <div class="a2">2</div>
  </div>
  <input type="text"  placeholder="请输入">
  <div class="btns">
    <button class="btn1">确定</button>
    <button class="btn2">取消</button>
  </div>
</div>
</body>
<script>
  (function(para) {
    var p = para.sdk_url, n = para.name, w = window, d = document, s = 'script',x = null,y = null;
    w['sensorsDataAnalytic201505'] = n;
    w[n] = w[n] || function(a) {return function() {(w[n]._q = w[n]._q || []).push([a, arguments]);}};
    var ifs = ['track','quick','register','registerPage','registerOnce','trackSignup', 'trackAbtest', 'setProfile','setOnceProfile','appendProfile', 'incrementProfile', 'deleteProfile', 'unsetProfile', 'identify','login','logout','trackLink','clearAllRegister','getAppStatus'];
    for (var i = 0; i < ifs.length; i++) {
      w[n][ifs[i]] = w[n].call(null, ifs[i]);
    }
    if (!w[n]._t) {
      x = d.createElement(s), y = d.getElementsByTagName(s)[0];
      x.async = 1;
      x.src = p;
      x.setAttribute('charset','UTF-8');
      y.parentNode.insertBefore(x, y);
      w[n].para = para;
    }
  })({
    noCache: true,
    auto_init: true,
    source_type: {
      search: [],
      social: []
    },
    vtrack_ignore: {
      ignore_id: false
    },
    source_channel: ['ch','sensors_type'],
    send_type: 'ajax',
    callback_timeout: 0,
    clickmap:'not_collect',
    scroll_notice_map:'not_collect',
    sdk_url: 'http://localhost:8282/static/sensorsdata.js',
    heatmap_url: 'http://localhost:8282/static/heatmap.js',
    name: 'sa',
    show_log: true, // 是否在控制台打印， true表示打印，false表示不打印
    // config_url: 'http://115.182.90.200:3990/',
    // server_url: 'http://115.182.90.200:3990/analyseCollectData.action?app_id=APP1&token=*',
    config_url: 'http://192.168.0.111:8090/',
    server_url: 'http://192.168.0.111:8090/analyseCollectData.action?app_id=APP1&token=*',
    heatmap:{}
  });
  sa.quick('autoTrack');
</script>
</html>
